package com.tutu.service;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * AlarmMessageService
 * Created by 涂奕恒 on 2023/8/17 14:55.
 */
public interface AlarmMessageService {

    // 查询（分页）
    Map<String, Object> pageByParams(Integer companyId, String deviceCode, Integer type, String startTime, String endTime, String keyWord, Integer pageNum, Integer pageSize);

    // 同步初始信息
    Map<String, Object> syncData(HttpServletRequest request);

    // 根据条件查询分页信息
    Map<String, Object> iPageByParams(String openId, String startTime, String endTime, Integer pageNum, Integer pageSize);

    // 预警信息统计
    Map<String, Object> alarmMessageStatic(HttpServletRequest request, Integer count);
}